package com.zbkj.crmeb.user.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 更新推广人请求对象
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserUpdateIdentityRequest", description="用户实名认证")
public class UserUpdateIdentityRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @NotEmpty(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号码")
    private String identityNo;

    @NotEmpty(message = "姓名不能为空")
    @ApiModelProperty(value = "审核人姓名")
    private String identityName;

    @NotEmpty(message = "身份证头像照不能为空")
    @ApiModelProperty(value = "身份证正面照")
    private String identityPict1;

    @NotEmpty(message = "身份证国徽照不能为空")
    @ApiModelProperty(value = "身份证背面照")
    private String identityPict2;

    @NotEmpty(message = "手持身份证照不能为空")
    @ApiModelProperty(value = "手持身份证照")
    private String identityPict3;
}
